<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-body">
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-3">选择方式:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="radio">
                    <label for="row[type]-new"><input id="row[type]-new" name="row[type]" type="radio" value="new" checked=""> 创建新的批次</label>
                    <label for="row[type]-old"><input id="row[type]-old" name="row[type]" type="radio" value="old"> 选择已有批次</label>
                </div>
            </div>
        </div>
        <input type="hidden" id="c-ids" name="row[ids]" value="">
        <div class="form-group batch-select hide">
            <label class="control-label col-xs-12 col-sm-3">选择批次:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-batch"  data-source="express/batch/select" data-field="batch_no" data-order-by="id desc"  class="form-control selectpage" name="row[batch_id]" type="text" value="">
            </div>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
